pip freeze
https://pip.pypa.io/en/stable/cli/pip_freeze/
Output installed packages in requirements format.
-r
,
--requirement
Use the order in the given requirements file and its comments when generating output.
--exclude-editable